/* [Using external state in observer components: using global variables](https://mobx.js.org/react-integration.html)
 *
 * 函数式组件 & Hooks 可以使用 createContext/useContext
 * 本项目中使用了类组件，mobx 可以通过 props 或者全局变量来使用，这里通过全局变量来使用，不过需要注意变量引入
 *
 * @Author: Duyb
 * @Date: 2023-10-24 10:52:15
 * @Last Modified by: Duyb
 * @Last Modified time: 2023-10-27 16:22:18
 */
import AuthStore from './auth';
// import ActivityStore from './activity';
// import FontStore from './font';
// import ImageStore from './image';
// import StyleStore from './style';

export const authStore = new AuthStore();
// export const activityStore = new ActivityStore();
// export const fontStore = new FontStore();
// export const imageStore = new ImageStore();
// export const styleStore = new StyleStore();

class RootStore {
  constructor() {
    this.authStore = authStore;
    // this.activityStore = activityStore;
    // this.fontStore = fontStore;
    // this.imageStore = imageStore;
    // this.styleStore = styleStore;
  }
}

export const rootStore = new RootStore();
